package com.yanqu.road.entity.log.cross.sonhai;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

@FieldTypeAnnotation(tableName = "t_l_ck_son_hai_reset_region", desc = "山海伏兽-重置区域日志", autoSave = true, uploadCk = true, isCross = true)
public class LogCrossSonHaiResetRegion extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "分组ID", isIndex = true)
    private int groupId;

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "队伍id")
    private int teamId;

    @FieldTypeAnnotation(desc = "区域ID")
    private int regionId;

    public LogCrossSonHaiResetRegion(int activityId, int groupId, long userId, int teamId, int regionId) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.userId = userId;
        this.teamId = teamId;
        this.regionId = regionId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

}
